package com.jgsu.farm.service;
import com.jgsu.farm.entity.Plant;
import com.github.pagehelper.PageInfo;

public interface PlantService {

    void addPlant(Plant plant);

    void deletePlant(Integer plantid);

    int findPlantId(String chinesename);

    void updatePlant(Plant plant);


    void updateNameById(Integer plantid);

    PageInfo<Plant> getPlantPages(int page, int pagesize);

    Plant selectPlant(Integer plantid);
}
